﻿ #ifndef TRAINING_H
#define TRAINING_H

#include <QWidget>
#include "dataFormate.h"
#include "udpcommuncation.h"
#include "userDataFormate.h"
#include "trainingreport.h"
namespace Ui {
class Training;
}

class Training : public QWidget
{
    Q_OBJECT

public:
    explicit Training(QWidget *parent = nullptr);
    ~Training();

protected:
    virtual void changeEvent(QEvent* event);

private slots:

    void on_random_radioButton_clicked();

    void on_startTrain_Btn_clicked();

    void on_orient_radioButton_clicked();

    void slotReceiveData(ST_RealParam);
private:
    Ui::Training *ui;
    ST_TrainParam st_trainParam;
    QString m_currentText;  //当前游戏的名称

    bool isStart;
     ST_EvaluateData m_st_evaluateData;
     ST_TrainReport st_trainReport;

};

#endif // TRAINING_H
